package main

import "github.com/gin-gonic/gin"

func Router(server *gin.Engine) {
	server.POST("/user/login", Login)
	server.POST("/user/register", Register)
	server.POST("/user/getlogs", Getlogs)
	server.POST("/user/upload", Upload)
	server.GET("/user/download", Download)
	server.GET("/user/downloadresult", Downloadresult)
	server.POST("/user/identify", Identify)
	server.POST("/user/identify2", Identify2)
	server.POST("/user/save", Save)
	server.POST("/user/getmaterial", Getmaterial)
	server.POST("/user/savematerial", Savematerial)
	server.POST("/user/getlogsinfo", Getlogsinfo)
}
